/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;

/**
 *
 * @author Stiv
 */
public class GoicocheaProblem {
    
        /*Cantidad de variables de decisión.*/
    private int numVar;
    /*Matriz Z de objetivos.*/
    private double objectives[][] = new double[numVar][numVar];
    /*Matriz de la parte izquierda de las restricciones.*/
    private double restrictionsA[][] = new double[numVar][numVar];
    /*Vector de la parte derecha de las restricciones.*/
    private double restrictionsB[] = new double[numVar];
    /*Vector donde se recibe inicialmente el resultado del Simplex.*/
    private double result[][] = new double[numVar][numVar];
    //Vector con los valores maximos de cada objetivo Z
    private double ZMax[] = new double[numVar];
    //Vector con la funcion Objetivo sustitutiva S(x)
    private double S[] = new double[numVar+1];

    public GoicocheaProblem(int numVar) {
        this.numVar = numVar;
    }

    public double[] getS() {
        return S;
    }

    public void setS(double[] S) {
        this.S = S;
    }

    public double[] getZMax() {
        return ZMax;
    }

    public void setZMax(double[] ZMax) {
        this.ZMax = ZMax;
    }

    public int getNumVar() {
        return numVar;
    }

    public void setNumVar(int numVar) {
        this.numVar = numVar;
    }

    public double[][] getObjectives() {
        return objectives;
    }

    public void setObjectives(double[][] objectives) {
        this.objectives = objectives;
    }

    public double[][] getRestrictionsA() {
        return restrictionsA;
    }

    public void setRestrictionsA(double[][] restrictionsA) {
        this.restrictionsA = restrictionsA;
    }

    public double[] getRestrictionsB() {
        return restrictionsB;
    }

    public void setRestrictionsB(double[] restrictionsB) {
        this.restrictionsB = restrictionsB;
    }

    public double[][] getResult() {
        return result;
    }

    public void setResult(double[][] result) {
        this.result = result;
    }

 
    
    
    
    
}
